package com.eml.service.dao;

import com.eml.service.entity.*;

public interface ManagerDao {
    //登录
    Manager selectManager() throws Exception;
    //修改密码
    void updatePassword() throws Exception;
    //授予商家权限
    void updateMerchantPermissions() throws Exception;
    //授予用户权限
    void updateUserPermissions() throws Exception;
    //授予配送员权限
    void updateDelivererPermissions() throws Exception;
    //查看所有商家信息
    Merchant selectMerchantInfo() throws Exception;
    //查看所有用户信息
    User selectUserInfo() throws Exception;
    //查看所有配送员信息
    Deliverer selectDelivererInfo() throws Exception;
    //查看反馈
    Feedback selectFeedback() throws Exception;
    //查看全部订单
    Orders selectOrder() throws Exception;
    //修改商家订单（派送订单）
    void updateMerchantOrder() throws Exception;
    //修改配送员订单（派送订单）
    void updateDelivererStatus() throws Exception;
}
